home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: baan.nl!news
- From: avi@green.baan.nl (Avi Cohen Stuart)
- Subject: Re: Help !!!!! on 'strstr"
- Message-ID: <yqp68c9mcxl.fsf@green.baan.nl>
- Sender: avi@green.baan.nl
- In-Reply-To: kim hai's message of Wed, 13 Mar 1996 09:21:03 -0800
- Date: Wed, 13 Mar 1996 11:48:22 GMT
- X-Nntp-Posting-Host: green.baan.nl
- Reply-To: avi@baan.nl
- References: <314703FF.4045@msmail.st.stems.com>
- Organization: Baan Development BV
- X-Newsreader: Gnus v5.1
-
- In article <314703FF.4045@msmail.st.stems.com> kim hai <Kim_Hai.Ng@msmail.st.stems.com> writes:
-
-
- Problem :
- I need to locate a string within another string, and the process
- must be case insensitive. As far as I know, strstr() only locates the
- exact match and is case sensitive.
- Does anyone konw of any functions that could allow me to locate
- substrings and is case insensitive ?
-
- Is taking care of all the combinations ( = 8) in string1 the only
- solution ? I'm working on Unix platform.
-
- Depending on what you really want, you could try to use lex and/or yacc
- to solve your problem.
-
- Avi.
-